package com.ce.utils;

import android.os.Environment;

public class DishDefine {
	public static String SERVER_IMG_URL = "http://www.baimingmaicai.com/WebShop/uploadPicFile/";
	public static String SERVER_IMG_SLIDER_URL = "http://www.baimingmaicai.com/uploadPicFile/slideImage/";
	public static String SERVER_APK_URL = "http://www.baimingmaicai.com/WebShop";
	public final static String PARENT_PATH = Environment
			.getExternalStorageDirectory().getAbsolutePath() + "/dish";

	public static final String ALIAS = "Dish";
	public static final String TAG = "Dish";
	public static final String ROLE_TAGS[] = new String[] { "Normal", "Advance", "Extreme" };

	public static final int MENU_HOME = 1;
	public static final int MENU_TREASURE = 2;
	public static final int MENU_CART = 3;
	public static final int MENU_SEARCH = 4;
	public static final int MENU_MORE = 5;

	public static final String TYPE_VAGETABLE = "VAGETABLE";
	public static final String TYPE_FRUIT = "FRUIT";

	public class WebMethod {
		public static final String SERVER_URL = "http://www.baimingmaicai.com/WebShop/services/DataHandleService?wsdl";
		public static final String NAME_SPACE = "http://phonews";
		
		public static final String DISH_RECOMMEND_ITEMS = "getRecommendItems";
		public static final String DISH_WANPEI_ITEMS = "getWanpeiItems";
		public static final String DISH_PUTONG_ITEMS = "getPutongItems";
		public static final String DISH_LVSE_ITEMS = "getLvseItems";
		public static final String DISH_TESE_ITEMS = "getTeseItems";
		
		public static final String DISH_ALL_PARENT_CLASS = "getAllBigClasses";
		public static final String DISH_ALL_CHILD_CLASS ="getSmallClassesByBigId";
		public static final String DISH_ITEMS_BY_CLASS = "getItemsByClassId";
		
		public static final String DISH_DETAIL = "getVegetableDetails";
		public static final String DISH_LAND = "validateUserInfo";
		public static final String REGISTER_USER_INFO = "registerUserInfo";
		public static final String MODIFY_USER_INFO = "modifyUserInfo";
		public static final String DISH_CONSUMPTION = "getConsumeRecords";
		public static final String DISH_CONSUMPTION_DETAIL = "getConsumeDetail";
		public static final String DISH_UPDATE = "getApkAdvance";
		public static final String SEARCH = "getSearchDatas";
		public static final String BUILDER_INFO = "buildOrderInfo";
		public static final String GETORDER_NO = "getGenOrderNo";
		public static final String DISH_BY_CLASS = "getDatasByClassId";
		public static final String DISH_COMMONS = "getCommentsByItemId";
		public static final String DISH_UPLOAD_COMMONS = "uploadComment";
		public static final String DISH_HOT_KEY_WORDS = "getAllHotWords";
		public static final int LOAD_PAGE_SIZE = 10;
	}

	public class HandlerType {
		public static final int THREAD_LOADING = 2000;
		public static final int THREAD_REFRESH = 2001;
		public static final int THREAD_LOAD_ERROR = 2002;
		public static final int THREAD_LOAD_EMPTY = 2003;
		public static final int THREAD_LOAD_NO_MORE = 2004;
		public static final int THREAD_LOADING2 = 2005;
		public static final int THREAD_VFLIPPER_REFRESH = 2006;
		public static final int THREAD_VFLIPPER_START = 2007;
		public static final int THREAD_VFLIPPER_STOP = 2008;

		public static final int DIALOG_SHOW = 3000;
		public static final int DIALOG_HIDE = 3001;
	}
}
